package com.lzh.blog.dao;

import com.lzh.blog.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author liuzhihao
 * @create 2021-09-25 14:09
 */
public interface UserRepository extends JpaRepository<User, Long> {

    User findByUsernameAndPassword(String username, String password);

}
